<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue-layout</title>
    <script src="https://cdn.staticfile.org/vue/3.0.5/vue.global.js"></script>
</head>
<body>
<div id="app" class="demo">
    {{ message }}
</div>
<script>
    const HelloVueApp = {
        data(){
            return {
                message:'hello',
                count:1
            }
        },
        methods:{
            increment(){
                return this.count++
            }
        }
    }
    const app = Vue.createApp(HelloVueApp).mount('#app');
    document.write(app.message)
    document.write("<br>")
    document.write(app.increment())
    document.write("<br>")
</script>
</body>
</html>